package com.example.administrator.zhongyichou.net.protocol;

import java.util.List;

/**
 * Created by lichenyu on 2017/12/4.
 * 描述：
 */

public class NewsProtocol extends GsonBaseProtocol {

    /**
     * data : [{"news_id":"11","user_id":"1","admin_id":"1","raise_id":"33","news_title":"拒绝图兔兔","news_content":"拒绝图兔兔","news_type":"0","news_status":"3","create_time":"1513047385","is_read":"0","read_time":"0","sort_id":"2","info_title":"图兔兔","info_id":"33"},{"news_id":"10","user_id":"1","admin_id":"1","raise_id":"36","news_title":"拒绝2","news_content":"拒绝2","news_type":"0","news_status":"3","create_time":"1513047365","is_read":"0","read_time":"0","sort_id":"2","info_title":"拒绝","info_id":"36"},{"news_id":"9","user_id":"1","admin_id":"1","raise_id":"39","news_title":"拒绝1","news_content":"拒绝1","news_type":"0","news_status":"3","create_time":"1513047353","is_read":"0","read_time":"0","sort_id":"2","info_title":"拒绝黄金口","info_id":"39"},{"news_id":"7","user_id":"1","admin_id":"1","raise_id":"27","news_title":"审核标题","news_content":"审核结果","news_type":"0","news_status":"4","create_time":"1512618665","is_read":"0","read_time":"0","sort_id":"2","info_title":"详情测试","info_id":"27"},{"news_id":"6","user_id":"1","admin_id":"1","raise_id":"28","news_title":"审核标题","news_content":"审核结果","news_type":"0","news_status":"4","create_time":"1512618538","is_read":"0","read_time":"0","sort_id":"2","info_title":"补充资料测试","info_id":"28"}]
     * total_page : 1
     */

    private int total_page;
    private List<DataBean> data;

    public int getTotal_page() {
        return total_page;
    }

    public void setTotal_page(int total_page) {
        this.total_page = total_page;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * news_id : 11
         * user_id : 1
         * admin_id : 1
         * raise_id : 33
         * news_title : 拒绝图兔兔
         * news_content : 拒绝图兔兔
         * news_type : 0
         * news_status : 3
         * create_time : 1513047385
         * is_read : 0
         * read_time : 0
         * sort_id : 2
         * info_title : 图兔兔
         * info_id : 33
         */

        private String news_id;
        private String user_id;
        private String admin_id;
        private String raise_id;
        private String news_title;
        private String news_content;
        private String news_type;
        private String news_status;
        private String create_time;
        private String is_read;
        private String read_time;
        private String sort_id;
        private String info_title;
        private String info_id;

        public String getNews_id() {
            return news_id;
        }

        public void setNews_id(String news_id) {
            this.news_id = news_id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getAdmin_id() {
            return admin_id;
        }

        public void setAdmin_id(String admin_id) {
            this.admin_id = admin_id;
        }

        public String getRaise_id() {
            return raise_id;
        }

        public void setRaise_id(String raise_id) {
            this.raise_id = raise_id;
        }

        public String getNews_title() {
            return news_title;
        }

        public void setNews_title(String news_title) {
            this.news_title = news_title;
        }

        public String getNews_content() {
            return news_content;
        }

        public void setNews_content(String news_content) {
            this.news_content = news_content;
        }

        public String getNews_type() {
            return news_type;
        }

        public void setNews_type(String news_type) {
            this.news_type = news_type;
        }

        public String getNews_status() {
            return news_status;
        }

        public void setNews_status(String news_status) {
            this.news_status = news_status;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getIs_read() {
            return is_read;
        }

        public void setIs_read(String is_read) {
            this.is_read = is_read;
        }

        public String getRead_time() {
            return read_time;
        }

        public void setRead_time(String read_time) {
            this.read_time = read_time;
        }

        public String getSort_id() {
            return sort_id;
        }

        public void setSort_id(String sort_id) {
            this.sort_id = sort_id;
        }

        public String getInfo_title() {
            return info_title;
        }

        public void setInfo_title(String info_title) {
            this.info_title = info_title;
        }

        public String getInfo_id() {
            return info_id;
        }

        public void setInfo_id(String info_id) {
            this.info_id = info_id;
        }
    }
}
